<h1 class="title">Participantes:  <img src="/images/competidores.jpg" alt="" width="120" height="100" align="right" /></h1>
<p></p>
<table border="1">
  <tr>
    <th>Nombre</th>
    <th>Descripcion</th>
    <th>Opciones</th>
  </tr>

<% @participantes.each do |participante| %>
  <tr>
    <td><%=h participante.nombre %></td>
    <td><%=h participante.descripcion %></td>
    <td><%= link_to '<img src="/images/lupa.jpg" alt="" width="30" height="30" />', participante %>
        <%= link_to '<img src="/images/Pencil.png" alt="" width="30" height="30" />', edit_participante_path(participante) %>
        <%= link_to '<img src="/images/xmark.png" alt="" width="30" height="30" />', participante, :confirm => 'Desea Eliminar?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />


<div align="center"><%= link_to '<img src="/images/add.png" alt="" width="50" height="50" />', new_participante_path %> &ensp; &ensp; <%= link_to '<img src="/images/back.png" alt="" width="50" height="50" />', :controller => 'clientes', :action => 'show', :id => session[:id] %></div>
<div align="center"><%= link_to 'Agregar', new_participante_path %> &ensp; &ensp; &ensp; &ensp; <%= link_to 'Regresar', :controller => 'clientes', :action => 'show', :id => session[:id] %></div>